package com.framework.dao.YHBDao.user;


import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.framework.yhbEntity.user.YhbRecommendMerchant;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;


public interface YhbRecommendMerchantDao extends BaseMapper<YhbRecommendMerchant> {


    List<Map<String,Object>> getYhbMerchant(@Param("agentId") Long agentId,@Param("state") Integer state);

    String queryRecommendAmount(@Param("userId") String userId);

    List<Map<String, Object>> queryRecommendList(@Param("deptId") Long deptId);

    List<Map<String, Object>> getMerchantList(@Param("userId") String userId,@Param("start") Integer start);

    Integer getYhbMerchantCount(@Param("agentId") Long agentId,@Param("state") Integer state);
}
